Shared coding conventions allow teams to collaborate efficiently. This rule checks that paragraph names match a provided regular expression.
Noncompliant code example
With a regular expression of [A-Z-]+
:
PROCEDURE DIVISION.
Do_The_Thing. *> Noncompliant
Compliant solution
PROCEDURE DIVISION.
DO-THE-THING *> Noncompliant